package com.resign.carl.prototype.api.impl;

import com.resign.carl.prototype.api.Account;

/**
 * 定期账户类，充当具体子类
 * Created by carl.zhao on 2016/6/15.
 */
public class SavingAccount extends Account {
    @Override
    public void calculateInterest() {
        System.out.println("按定期利率计算利息！");
    }
}
